<!DOCTYPE html>
<html lang="en" xmlns="http://www.w3.org/1999/xhtml" xmlns:th="http://www.thymeleaf.org">
<head>
    <meta charset="UTF-8">
    <title>欢迎登录——书籍管理</title>
    <link href="https://cdn.bootcss.com/bootstrap/3.3.7/css/bootstrap.min.css" rel="stylesheet">
</head>
<body>

<div class="container" style="text-align: center">
    <h2>登录</h2>
    <form th:action="@{/admin/login}" method="post">
        <div class="form-group">
            <p style="color: red" th:text="${msg}"></p>
        </div>
        <div class="form-group">
            <label for="userName">用户名:</label>
            <input type="text" class="col-*-3" id="userName" name="userName" placeholder="请输入用户名：">
        </div>
        <div class="form-group">
            <label for="password">密&nbsp;&nbsp;&nbsp;码:</label>
            <input type="password" class="col-*-3" id="password" name="password" placeholder="请输入密码：">
        </div>
        <div class="form-group">
            <input type="checkbox" name="rememberMe">记住我
        </div>
        <button type="submit" class="btn btn-primary">登录</button>
    </form>
</div>

</body>
</html>